/*    */ package com.qmsk.business.member.custIntratnchannel.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.in.GsonHeadOneRow;
/*    */ import java.sql.SQLException;
/*    */ import java.util.Date;
/*    */ 
/*    */ public class CustIntratnChannelDAO extends SupportDAO
/*    */ {
/*    */   public int updateIntratnTimeByOpenIdAndChanalId(String openId, Integer chanalId)
/*    */     throws SQLException
/*    */   {
/* 24 */     Object[] params = { new Date(), openId, chanalId };
/* 25 */     return update("updateIntratnTimeByOpenIdAndChanalId", params); }
/*    */ 
/*    */   public int updateIntratnTimeById(Long id) throws SQLException {
/* 28 */     Object[] params = { new Date(), id };
/* 29 */     return update("updateIntratnTimeById", params); }
/*    */ 
/*    */   public int updateIntratnTimeById(Date now, Long id) throws SQLException {
/* 32 */     Object[] params = { now, id };
/* 33 */     return update("updateIntratnTimeById", params); }
/*    */ 
/*    */   public int checkExistByOpenIdAndChanalId(String openId, Integer chanalId) throws SQLException {
/* 36 */     Object[] params = { openId, chanalId };
/* 37 */     return queryForInt("checkExistByOpenIdAndChanalId", params, Integer.valueOf(0)).intValue(); }
/*    */ 
/*    */   public GsonHeadOneRow selectSqlOfOpenIdAndMaxTime(String openId) throws SQLException {
/* 40 */     Object[] params = { openId, openId };
/* 41 */     return getOneRowOfParams("selectSqlOfOpenIdAndMaxTime", params);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.member.custIntratnchannel.dao.CustIntratnChannelDAO
 * JD-Core Version:    0.5.3
 */